<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Settlementno')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-settlementNo" data-rule="required" class="form-control" name="row[settlementNo]" type="text" value="{$row.settlementNo}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Settlementtype')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-settlementType" data-rule="required" class="form-control selectpicker" name="row[settlementType]">
                {foreach name="settlementtypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.settlementType"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_id" data-rule="required" data-source="shop/index" class="form-control selectpage" name="row[shop_id]" type="text" value="{$row.shop_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Accname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-accName" data-rule="required" class="form-control" name="row[accName]" type="text" value="{$row.accName}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Accno')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-accNo" data-rule="required" class="form-control" name="row[accNo]" type="text" value="{$row.accNo}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Accuser')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-accUser" data-rule="required" class="form-control" name="row[accUser]" type="text" value="{$row.accUser}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Areaname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-areaName" data-rule="required" class="form-control" name="row[areaName]" type="text" value="{$row.areaName}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Settlementmoney')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-settlementMoney" data-rule="required" class="form-control" step="0.01" name="row[settlementMoney]" type="number" value="{$row.settlementMoney}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Commissionfee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-commissionFee" data-rule="required" class="form-control" step="0.01" name="row[commissionFee]" type="number" value="{$row.commissionFee}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Backmoney')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-backMoney" data-rule="required" class="form-control" step="0.01" name="row[backMoney]" type="number" value="{$row.backMoney}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Settlementstatus')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="settlementstatusList" item="vo"}
            <label for="row[settlementStatus]-{$key}"><input id="row[settlementStatus]-{$key}" name="row[settlementStatus]" type="radio" value="{$key}" {in name="key" value="$row.settlementStatus"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Settlementtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-settlementTime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[settlementTime]" type="text" value="{$row.settlementTime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remarks" class="form-control" name="row[remarks]" type="text" value="{$row.remarks}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
